import 'dart:ui';

import 'package:json_annotation/json_annotation.dart';

part 'dictionary.g.dart';

@JsonSerializable()
class Dictionary {
  String? id;
  String? name;
  String? subName;
  num? idNum;
  String? code;

  Dictionary({this.id,this.name,this.subName,this.idNum,this.code});

  factory Dictionary.fromJson(Map<String, dynamic> json) =>
      _$DictionaryFromJson(json);

  Map<String, dynamic> toJson() => _$DictionaryToJson(this);
}
